package com.lanchetech.dao;

import com.lanchetech.bean.request.PageReq;
import com.lanchetech.entity.Poster;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PosterMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Poster record);

    int insertSelective(Poster record);

    Poster selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Poster record);

    int updateByPrimaryKey(Poster record);

    List<Poster> findAllPage(PageReq req);


}